Dialog Feature Flag Constants
NEW WITH THE APPEARANCE MANAGER
You can set the following bits in the dialog flags field of the extended dialog resource or pass them in theinFlags
parameter ofNewFeaturesDialog
to specify the dialog box's Appearance-compliant features.
enum { kDialogFlagsUseThemeBackground = (1 << 0), kDialogFlagsUseControlHierarchy = (1 << 1), kDialogFlagsHandleMovableModal = (1 << 2), kDialogFlagsUseThemeControls = (1 << 3) };Constant descriptions
kDialogFlagsUseThemeBackground
- If this bit (bit 0) is set, the Dialog Manager sets the dialog box's background color or pattern.
kDialogFlagsUseControlHierarchy
- If this bit (bit 1) is set, the Dialog Manager creates a root control in the dialog box and establishes an embedding hierarchy. Any dialog items become controls once the embedding hierarchy is established.
kDialogFlagsHandleMovableModal
- If this bit (bit 2) is set, and the dialog box is a movable modal (specify the
kWindowMovableModalDialogProc
window definition ID), the Dialog Manager handles movable modal behavior such as dragging a dialog box by its title bar or switching out of the application by clicking in another one.kDialogFlagsUseThemeControls
- If this bit (bit 3) is set, the Dialog Manager creates Appearance-compliant controls in the dialog box directly. Otherwise, push buttons, checkboxes, and radio buttons will be displayed in their pre-Appearance forms when systemwide Appearance is off.